package com.yhx.utils;

import java.io.Serializable;

public class QueryPageBean implements Serializable {
    private Integer currentPage;//页码
    private Integer pageSize;//每页条数
    private String queryString; //查询条件
    private String age;
    private String sex;

    public QueryPageBean(Integer currentPage, Integer pageSize, String queryString, String age, String sex, String createtime) {
        this.currentPage = currentPage;
        this.pageSize = pageSize;
        this.queryString = queryString;
        this.age = age;
        this.sex = sex;
        this.createtime = createtime;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    private String createtime;
    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getQueryString() {
        return queryString;
    }

    public void setQueryString(String queryString) {
        this.queryString = queryString;
    }

    @Override
    public String toString() {
        return "QueryPageBean{" +
                "currentPage=" + currentPage +
                ", pageSize=" + pageSize +
                ", queryString='" + queryString + '\'' +
                ", age='" + age + '\'' +
                ", sex='" + sex + '\'' +
                ", createtime='" + createtime + '\'' +
                '}';
    }
}
